package com.ethink.warehouse.api.request;

import com.ethink.framework.common.web.request.BaseQueryRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 仓库库存 分页查询请求对象
 *
 * @author default
 * @date 2022-11-08
 */
@Data
public class MateInventoryQueryRequest extends BaseQueryRequest {

    @Schema(description = "商品信息（编号/商品名称/条形码）")
    private String mateParam;

    @Schema(description = "分仓编号")
    private String subWarehouseCode;

    @Schema(description = "枚举 库存类型:1-正品(zp)|2-瑕疵(cc)")
    private Integer inventoryType;

    @Schema(description = "到期日期查询起始时间")
    private String expireDateBegin;

    @Schema(description = "到期日期查询结束时间")
    private String expireDateEnd;

    @Schema(description ="原产国")
    private List<String> countryOfOriginList;

    @Schema(description ="品牌编码")
    private String brandCode;

    @Schema(description ="渠道")
    private String saleSubChannel;

    @Schema(description ="采购批次")
    private String purchaseCode;

    @Schema(description ="生产批次")
    private String produceCode;

    @Schema(description ="是否返回0库存")
    private Boolean returnEmpty;
}
